﻿public class Math
{
    public static int abs(int i)
    {
        return i > 0 ? i : -i;
    }

    public static int min(int x, int y)
    {
        return x < y ? x : y;
    }
    public static int max(int x, int y)
    {
        return x > y ? x : y;
    }
	public static int pow(int data,int x){
		int t=1;
		for(int i=0;i<x;i++){
			t*=data;
		}
		return t;
	}
}

